<?php
/* Smarty version 3.1.30, created on 2017-07-10 15:13:30
  from "E:\pstudy02\pstudypro\WWW\Shortmessage\02_db\templates\index.html" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_5963999a7384c5_40212226',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '607588a11d54ab0c632708142b470c97dccedf86' => 
    array (
      0 => 'E:\\pstudy02\\pstudypro\\WWW\\Shortmessage\\02_db\\templates\\index.html',
      1 => 1499699599,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5963999a7384c5_40212226 (Smarty_Internal_Template $_smarty_tpl) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户登录即可做任务</title>
    <link rel="stylesheet" type="text/css" href="public/css/index.css">
	<?php echo '<script'; ?>
 src="public/sweealert/sweetalert.min.js"><?php echo '</script'; ?>
> 
	<?php echo '<script'; ?>
 src="public/js/jquery-1.8.0.js"><?php echo '</script'; ?>
>
    <link rel="stylesheet" href="public/sweealert/sweetalert.css"> 
</head>
<body>
   <div class="zhe"><!--遮罩层-->
       <div class="warb"><!--外层-->
         <div class="top-bg">
           <form id="formbd">
             <input class="textinput" type="text" name="username" placeholder="用户名(数字，字母，下划线)" id="louser"/>
             <input class="textinput" type="text" name="password" placeholder="密码" id="lopwd"/>
               <a href="javascript:loginsub();" class="lobtn" id="loginBtn">登录</a>
               <a href="regist.php" class="re">注册</a>
               <a href="javascript:;" class="forget">忘记密码?</a>
           </form>
         </div>
       </div>
   </div>
</body>
<?php echo '<script'; ?>
>
    function loginsub(){
           var str=$("#louser").val();
            if($("#louser").val()==""){
                     swal("No", "请输入用户名!", "error");
            }else if($("#lopwd").val()==""){
                swal("No", "请输入密码", "error");
            }else{

        }
    }
    <?php echo '</script'; ?>
>
</html>

<?php }
}
